/*
 * This class was automatically generated with 
 * <a href="http://www.castor.org">Castor 1.3</a>, using an XML
 * Schema.
 * $Id$
 */

package nl.biggrid.plier.opm;

//import javax.jdo.annotations.PersistenceCapable;
/**
 * Class Role.
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings("serial")
//@PersistenceCapable
public class Role implements java.io.Serializable {


      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * Field id.
     */
    private String id;

    /**
     * Field value.
     */
    private java.lang.String value;


      //----------------/
     //- Constructors -/
    //----------------/
    /**
     * Class constructor.
     */
    public Role() {
        super();
    }


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Sets the database index of this. Automatic.
     *
     * @param id the value of the database index.
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * Returns the database index of this role.
     *
     * @return the value of the database index.
     */
    final public String getId() {
        return id;
    }

    /**
     * Returns the value of this role.
     * 
     * @return the value of this role.
     */
    public java.lang.String getValue(
    ) {
        return this.value;
    }

    /**
     * Sets the value of this role.
     * 
     * @param value the value of this role.
     */
    public void setValue(
            final java.lang.String value) {
        this.value = value;
    }

}
